package com.tcm.job.service;

import com.tcm.job.api.service.UserAccountService;
import com.tcm.job.mapper.UserAccountMapper;
import org.apache.dubbo.config.annotation.DubboService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService(version = "0.0.1-alpha", timeout = 6000, retries = 3, delay = -1)
public class UserAccountServiceImpl implements UserAccountService {

    @Autowired
    private UserAccountMapper userAccountMapper;

    /**
     * 清空今日累计积分
     */
    @Override
    public void updateTodayPoint() {
        userAccountMapper.updateTodayPoint();
    }
}
